package com.tengju.bff.interfaces.covercharge.entity.vo.contract;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *@author liang_shi
 *@date 2020/7/13 16:38
 *@description 创建合同请求
 */
@Data
@ApiModel(value = "创建合同请求")
public class ContractCreateReq implements Serializable {

    /** 模板编号*/
    @ApiModelProperty(value = "模板编号", required = true)
    private String tid;

    /** 模版变量*/
    @ApiModelProperty(value = "模版变量", required = true)
    private JSONObject templateValues;

    /** 模版变量组*/
    @ApiModelProperty(value = "模版变量组", required = true)
    private JSONObject groupValues;

    /** 合同标题*/
    @ApiModelProperty(value = "合同标题", required = true)
    private String title;

    /** 合同描述*/
    @ApiModelProperty(value = "合同描述", required = true)
    private String description;

    /** 合同能够签署的到期时间-秒级的unix时间戳 ，2017/12/30 10:21:52->1514600512*/
    @ApiModelProperty(value = "合同能够签署的到期时间", required = true)
    private String expireTime;

    /** 为空时默认值为1年（31536000）。取值范围为3600（1小时）~157680000（5年）*/
    @ApiModelProperty(value = "热存周期", required = true)
    private String hotStoragePeriod;


}
